#ifndef LOGIN_H
#define LOGIN_H

#include <QDialog>

namespace Ui {
class Login;
}

class Login : public QDialog
{
    Q_OBJECT
signals:
    void login_success(int id);
    void admin_login_success();
public:
    explicit Login(QWidget *parent = nullptr);
    ~Login();

private slots:
    void on_pushButton_login_register_clicked();

    void on_pushButton_login_modify_clicked();

    void on_pushButton_login_login_clicked();

    void on_pushButton_register_login_clicked();

    void on_pushButton_modify_register_clicked();

    void on_pushButton_modify_login_clicked();

    void on_pushButton_register_register_clicked();

    void on_pushButton_modify_modify_clicked();

    void on_pushButton_modify_delete_clicked();

    void on_pushButton_admin_login_clicked();

    void on_pushButton_login_admin_login_clicked();

    void on_pushButton_admin_back_clicked();

private:
    Ui::Login *ui;
};

#endif // LOGIN_H
